package com.night.test;

import com.night.annotation.Mapper;
import com.night.annotation.Param;
import com.night.annotation.Select;

import java.util.List;

/**
 * @Author: chen yang
 * @Date: 2024/12/15 10:55
 */
@Mapper
public interface BaseMapper {

    @Select("select * from t_user where username = #{username}")
    List<User> getUsers(@Param("username") String username);

}
